package service

type (
	IMymqtt interface {
	}
)

var (
	localMymqtt IMymqtt
)

func Mymqtt() IMymqtt {
	if localMymqtt == nil {
		panic("implement not found for interface IMymqtt, forgot register?")
	}
	return localMymqtt
}

func RegisterMymqtt(i IMymqtt) {
	localMymqtt = i
}
